package com.jihu.design.behavioral.chain.ext;

/**
 * @author jihu
 * @date 2021/10/15
 */
public class EncodingFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.msg += " ooo";

        System.out.println("EncodingFilter......doFilter之前");

        chain.doFilter(request,response,chain);

        System.out.println("EncodingFilter......doFilter之后");

    }
}
